
 class Test2
{
    public static int add(int i, int j)
        {
         return i+j;
        }
}
public class Test1 extends Test2{
    
    public int test1()
    {
       return add(2,6);
    }
    
    public static void main(String argv[])
    {
         short s = 9;
         Test1 abc = new Test1();
         System.out.println(abc.test1());
    }
         
}
